#include <windows.h>
#include <SDL.h>

#include "Delta-Ray/state_men.h"
#include "Demo/state_demo.h"

using namespace std;

int main(int argc, char *argv[]){
    //sdl init
    SDL_Surface *S_SCREEN;
    SDL_Init(SDL_INIT_EVERYTHING);
    S_SCREEN = SDL_SetVideoMode(1280,720,32,SDL_SWSURFACE);

    StateMenager *Stmen = new StateMenager(30);
    StateDemo *Stdemo = new StateDemo();
    Stmen->NewState(Stdemo, Stmen, S_SCREEN);
    Stmen->TickState();
    Stmen->EndState();
    delete Stmen;
    SDL_Quit();
    return 0;
}
